package antlr4.myantlrtest.test.grammarsv4.protobuf3.jprotoc.bo;

import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class ProtoInfo {

    String pbName = "xxx";
    //syntax
    String syntax = "proto3";//默认proto3
    //package
    String packageName = "";//pb缺省时 默认空包名

    //option
    String optimize_for = "SPEED";//pb缺省时 默认速度模式
    String java_outer_classname = "";//pb缺省时 默认文件名首字母大写
    Boolean java_multiple_files = false;//pb缺省时 默认单文件

    Map<String, List<FieldInfo>> objMap = new HashMap<>();
    Map<String, List<FieldInfo>> enumMap = new HashMap<>();

}
